package com.xmy.cultivate.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 拉卡拉商户设置
 * </p>
 *
 * @author hpiggy
 * @since 2025-03-22
 */
@Data
@TableName("lkl_merchant_set")
@ApiModel(value = "LklMerchantSet对象", description = "拉卡拉商户设置")
public class LklMerchantSet implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("教师id")
    private Long teacherId;

    @ApiModelProperty("商户号")
    private String merchantNo;

    @ApiModelProperty("商户名称")
    private String merchantName;

    @ApiModelProperty("状态1正常，0关闭")
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;


    @ApiModelProperty("学生姓名")
    @TableField(exist = false)
    private String name;

    @ApiModelProperty("学生姓名")
    @TableField(exist = false)
    private Long studentId;

    @ApiModelProperty("1男，2女，3未知")
    @TableField(exist = false)
    private Integer sex;


    @ApiModelProperty("联系电话")
    @TableField(exist = false)
    private String linkmanPhone;


    @ApiModelProperty("头像")
    @TableField(exist = false)
    private String headImg;

    @ApiModelProperty("在读状态")
    @TableField(exist = false)
    private Integer readingStatus;


}
